package com.samsung.galaxy.database;

import java.util.Date;

public class Image {
	
	private int imageId;
	private String description;
	private String imagePath;
	private int albumId;
	private int likenumber;
	private int commentnumber;
	private int permissionId;
	private Date date;
	
	public Image(String des, String path, int albumId, int permission){
		
		this.description = des;
		this.imagePath = path;
		this.albumId = albumId;
		this.permissionId = permission;
		this.date = new Date();
		this.commentnumber = 0;
		this.likenumber = 0;
		
	}
	
	public Image(String path, int albumId, int permission){
		
		this.description = null;
		this.imagePath = path;
		this.albumId = albumId;
		this.permissionId = permission;
		this.date = new Date();
		this.commentnumber = 0;
		this.likenumber = 0;
		
	}
	
	
	public int getImageId() {
		return imageId;
	}
	
	public String getDescription() {
		return description;
	}
	
	public String getImagePath() {
		return imagePath;
	}
	
	public int getAlbumId() {
		return albumId;
	}
	
	public int getLike() {
		return likenumber;
	}
	
	public int getComment() {
		return commentnumber;
	}
	
	public int getPermissionId() {
		return permissionId;
	}
	
	public Date getDate() {
		return date;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public void setImagePath(String imagePath) {
		this.imagePath = imagePath;
	}

	public void setLike(int like) {
		this.likenumber = like;
	}

	public void setComment(int comment) {
		this.commentnumber = comment;
	}

	public void setPermissionId(int permissionId) {
		this.permissionId = permissionId;
	}

	public void setDate(Date date) {
		this.date = date;
	}
	
	

}
